//
//  ContactsUtil.h
//  kabao51
//
//  Created by Dream on 2018/4/28.
//  Copyright © 2018年 Dream. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ContactCompletionBlock)(NSString *phone, NSError *error);

@interface ContactsUtil : NSObject

/** 创建单例 */
+ (ContactsUtil *)sharedUtil;

/** 通讯录所有信息 */
+ (void)getUserAllContacts:(void (^)(NSArray *contacts, NSError *error))completionHandler;

/** 单个用户的手机号 */
- (void)getSingleUserPhoneWithVC:(UIViewController *)vc completion:(ContactCompletionBlock)completion;

@end
